#include<iostream>
int main()
{
	int v[20],p[20],n,i;	
	std::cout<<"n=";
	std::cin>>n;
	for(i=0;i<n;i++)
		{
			std::cout<<"v["<<i<<"]=";
			std::cin>>v[i];
		}
	std::cout<<"(";
	for(i=0;i<n;i++)
		std::cout<<v[i]<<",";
	std::cout<<") ==> (";
	for(i=0;i<n;i++)
		if(v[i]>0)
			std::cout<<v[i]<<",";
	std::cout<<")\n";
	return 0;
}
